package com.dwxt.community.aiequipment.sellmachine.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SellMachineAisleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SellMachineAisleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAisleIdIsNull() {
            addCriterion("aisle_id is null");
            return (Criteria) this;
        }

        public Criteria andAisleIdIsNotNull() {
            addCriterion("aisle_id is not null");
            return (Criteria) this;
        }

        public Criteria andAisleIdEqualTo(String value) {
            addCriterion("aisle_id =", value, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdNotEqualTo(String value) {
            addCriterion("aisle_id <>", value, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdGreaterThan(String value) {
            addCriterion("aisle_id >", value, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdGreaterThanOrEqualTo(String value) {
            addCriterion("aisle_id >=", value, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdLessThan(String value) {
            addCriterion("aisle_id <", value, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdLessThanOrEqualTo(String value) {
            addCriterion("aisle_id <=", value, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdLike(String value) {
            addCriterion("aisle_id like", value, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdNotLike(String value) {
            addCriterion("aisle_id not like", value, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdIn(List<String> values) {
            addCriterion("aisle_id in", values, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdNotIn(List<String> values) {
            addCriterion("aisle_id not in", values, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdBetween(String value1, String value2) {
            addCriterion("aisle_id between", value1, value2, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleIdNotBetween(String value1, String value2) {
            addCriterion("aisle_id not between", value1, value2, "aisleId");
            return (Criteria) this;
        }

        public Criteria andAisleNoIsNull() {
            addCriterion("aisle_no is null");
            return (Criteria) this;
        }

        public Criteria andAisleNoIsNotNull() {
            addCriterion("aisle_no is not null");
            return (Criteria) this;
        }

        public Criteria andAisleNoEqualTo(Integer value) {
            addCriterion("aisle_no =", value, "aisleNo");
            return (Criteria) this;
        }

        public Criteria andAisleNoNotEqualTo(Integer value) {
            addCriterion("aisle_no <>", value, "aisleNo");
            return (Criteria) this;
        }

        public Criteria andAisleNoGreaterThan(Integer value) {
            addCriterion("aisle_no >", value, "aisleNo");
            return (Criteria) this;
        }

        public Criteria andAisleNoGreaterThanOrEqualTo(Integer value) {
            addCriterion("aisle_no >=", value, "aisleNo");
            return (Criteria) this;
        }

        public Criteria andAisleNoLessThan(Integer value) {
            addCriterion("aisle_no <", value, "aisleNo");
            return (Criteria) this;
        }

        public Criteria andAisleNoLessThanOrEqualTo(Integer value) {
            addCriterion("aisle_no <=", value, "aisleNo");
            return (Criteria) this;
        }

        public Criteria andAisleNoIn(List<Integer> values) {
            addCriterion("aisle_no in", values, "aisleNo");
            return (Criteria) this;
        }

        public Criteria andAisleNoNotIn(List<Integer> values) {
            addCriterion("aisle_no not in", values, "aisleNo");
            return (Criteria) this;
        }

        public Criteria andAisleNoBetween(Integer value1, Integer value2) {
            addCriterion("aisle_no between", value1, value2, "aisleNo");
            return (Criteria) this;
        }

        public Criteria andAisleNoNotBetween(Integer value1, Integer value2) {
            addCriterion("aisle_no not between", value1, value2, "aisleNo");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdIsNull() {
            addCriterion("aisle_goods_id is null");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdIsNotNull() {
            addCriterion("aisle_goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdEqualTo(String value) {
            addCriterion("aisle_goods_id =", value, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdNotEqualTo(String value) {
            addCriterion("aisle_goods_id <>", value, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdGreaterThan(String value) {
            addCriterion("aisle_goods_id >", value, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdGreaterThanOrEqualTo(String value) {
            addCriterion("aisle_goods_id >=", value, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdLessThan(String value) {
            addCriterion("aisle_goods_id <", value, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdLessThanOrEqualTo(String value) {
            addCriterion("aisle_goods_id <=", value, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdLike(String value) {
            addCriterion("aisle_goods_id like", value, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdNotLike(String value) {
            addCriterion("aisle_goods_id not like", value, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdIn(List<String> values) {
            addCriterion("aisle_goods_id in", values, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdNotIn(List<String> values) {
            addCriterion("aisle_goods_id not in", values, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdBetween(String value1, String value2) {
            addCriterion("aisle_goods_id between", value1, value2, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleGoodsIdNotBetween(String value1, String value2) {
            addCriterion("aisle_goods_id not between", value1, value2, "aisleGoodsId");
            return (Criteria) this;
        }

        public Criteria andAisleUseingIsNull() {
            addCriterion("aisle_useing is null");
            return (Criteria) this;
        }

        public Criteria andAisleUseingIsNotNull() {
            addCriterion("aisle_useing is not null");
            return (Criteria) this;
        }

        public Criteria andAisleUseingEqualTo(Integer value) {
            addCriterion("aisle_useing =", value, "aisleUseing");
            return (Criteria) this;
        }

        public Criteria andAisleUseingNotEqualTo(Integer value) {
            addCriterion("aisle_useing <>", value, "aisleUseing");
            return (Criteria) this;
        }

        public Criteria andAisleUseingGreaterThan(Integer value) {
            addCriterion("aisle_useing >", value, "aisleUseing");
            return (Criteria) this;
        }

        public Criteria andAisleUseingGreaterThanOrEqualTo(Integer value) {
            addCriterion("aisle_useing >=", value, "aisleUseing");
            return (Criteria) this;
        }

        public Criteria andAisleUseingLessThan(Integer value) {
            addCriterion("aisle_useing <", value, "aisleUseing");
            return (Criteria) this;
        }

        public Criteria andAisleUseingLessThanOrEqualTo(Integer value) {
            addCriterion("aisle_useing <=", value, "aisleUseing");
            return (Criteria) this;
        }

        public Criteria andAisleUseingIn(List<Integer> values) {
            addCriterion("aisle_useing in", values, "aisleUseing");
            return (Criteria) this;
        }

        public Criteria andAisleUseingNotIn(List<Integer> values) {
            addCriterion("aisle_useing not in", values, "aisleUseing");
            return (Criteria) this;
        }

        public Criteria andAisleUseingBetween(Integer value1, Integer value2) {
            addCriterion("aisle_useing between", value1, value2, "aisleUseing");
            return (Criteria) this;
        }

        public Criteria andAisleUseingNotBetween(Integer value1, Integer value2) {
            addCriterion("aisle_useing not between", value1, value2, "aisleUseing");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeIsNull() {
            addCriterion("aisle_create_time is null");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeIsNotNull() {
            addCriterion("aisle_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeEqualTo(Date value) {
            addCriterion("aisle_create_time =", value, "aisleCreateTime");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeNotEqualTo(Date value) {
            addCriterion("aisle_create_time <>", value, "aisleCreateTime");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeGreaterThan(Date value) {
            addCriterion("aisle_create_time >", value, "aisleCreateTime");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("aisle_create_time >=", value, "aisleCreateTime");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeLessThan(Date value) {
            addCriterion("aisle_create_time <", value, "aisleCreateTime");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("aisle_create_time <=", value, "aisleCreateTime");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeIn(List<Date> values) {
            addCriterion("aisle_create_time in", values, "aisleCreateTime");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeNotIn(List<Date> values) {
            addCriterion("aisle_create_time not in", values, "aisleCreateTime");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeBetween(Date value1, Date value2) {
            addCriterion("aisle_create_time between", value1, value2, "aisleCreateTime");
            return (Criteria) this;
        }

        public Criteria andAisleCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("aisle_create_time not between", value1, value2, "aisleCreateTime");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeIsNull() {
            addCriterion("aisle_update_time is null");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeIsNotNull() {
            addCriterion("aisle_update_time is not null");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeEqualTo(Date value) {
            addCriterion("aisle_update_time =", value, "aisleUpdateTime");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeNotEqualTo(Date value) {
            addCriterion("aisle_update_time <>", value, "aisleUpdateTime");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeGreaterThan(Date value) {
            addCriterion("aisle_update_time >", value, "aisleUpdateTime");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("aisle_update_time >=", value, "aisleUpdateTime");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeLessThan(Date value) {
            addCriterion("aisle_update_time <", value, "aisleUpdateTime");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("aisle_update_time <=", value, "aisleUpdateTime");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeIn(List<Date> values) {
            addCriterion("aisle_update_time in", values, "aisleUpdateTime");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeNotIn(List<Date> values) {
            addCriterion("aisle_update_time not in", values, "aisleUpdateTime");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("aisle_update_time between", value1, value2, "aisleUpdateTime");
            return (Criteria) this;
        }

        public Criteria andAisleUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("aisle_update_time not between", value1, value2, "aisleUpdateTime");
            return (Criteria) this;
        }

        public Criteria andAisleMaxIsNull() {
            addCriterion("aisle_max is null");
            return (Criteria) this;
        }

        public Criteria andAisleMaxIsNotNull() {
            addCriterion("aisle_max is not null");
            return (Criteria) this;
        }

        public Criteria andAisleMaxEqualTo(Integer value) {
            addCriterion("aisle_max =", value, "aisleMax");
            return (Criteria) this;
        }

        public Criteria andAisleMaxNotEqualTo(Integer value) {
            addCriterion("aisle_max <>", value, "aisleMax");
            return (Criteria) this;
        }

        public Criteria andAisleMaxGreaterThan(Integer value) {
            addCriterion("aisle_max >", value, "aisleMax");
            return (Criteria) this;
        }

        public Criteria andAisleMaxGreaterThanOrEqualTo(Integer value) {
            addCriterion("aisle_max >=", value, "aisleMax");
            return (Criteria) this;
        }

        public Criteria andAisleMaxLessThan(Integer value) {
            addCriterion("aisle_max <", value, "aisleMax");
            return (Criteria) this;
        }

        public Criteria andAisleMaxLessThanOrEqualTo(Integer value) {
            addCriterion("aisle_max <=", value, "aisleMax");
            return (Criteria) this;
        }

        public Criteria andAisleMaxIn(List<Integer> values) {
            addCriterion("aisle_max in", values, "aisleMax");
            return (Criteria) this;
        }

        public Criteria andAisleMaxNotIn(List<Integer> values) {
            addCriterion("aisle_max not in", values, "aisleMax");
            return (Criteria) this;
        }

        public Criteria andAisleMaxBetween(Integer value1, Integer value2) {
            addCriterion("aisle_max between", value1, value2, "aisleMax");
            return (Criteria) this;
        }

        public Criteria andAisleMaxNotBetween(Integer value1, Integer value2) {
            addCriterion("aisle_max not between", value1, value2, "aisleMax");
            return (Criteria) this;
        }

        public Criteria andAisleMinIsNull() {
            addCriterion("aisle_min is null");
            return (Criteria) this;
        }

        public Criteria andAisleMinIsNotNull() {
            addCriterion("aisle_min is not null");
            return (Criteria) this;
        }

        public Criteria andAisleMinEqualTo(Integer value) {
            addCriterion("aisle_min =", value, "aisleMin");
            return (Criteria) this;
        }

        public Criteria andAisleMinNotEqualTo(Integer value) {
            addCriterion("aisle_min <>", value, "aisleMin");
            return (Criteria) this;
        }

        public Criteria andAisleMinGreaterThan(Integer value) {
            addCriterion("aisle_min >", value, "aisleMin");
            return (Criteria) this;
        }

        public Criteria andAisleMinGreaterThanOrEqualTo(Integer value) {
            addCriterion("aisle_min >=", value, "aisleMin");
            return (Criteria) this;
        }

        public Criteria andAisleMinLessThan(Integer value) {
            addCriterion("aisle_min <", value, "aisleMin");
            return (Criteria) this;
        }

        public Criteria andAisleMinLessThanOrEqualTo(Integer value) {
            addCriterion("aisle_min <=", value, "aisleMin");
            return (Criteria) this;
        }

        public Criteria andAisleMinIn(List<Integer> values) {
            addCriterion("aisle_min in", values, "aisleMin");
            return (Criteria) this;
        }

        public Criteria andAisleMinNotIn(List<Integer> values) {
            addCriterion("aisle_min not in", values, "aisleMin");
            return (Criteria) this;
        }

        public Criteria andAisleMinBetween(Integer value1, Integer value2) {
            addCriterion("aisle_min between", value1, value2, "aisleMin");
            return (Criteria) this;
        }

        public Criteria andAisleMinNotBetween(Integer value1, Integer value2) {
            addCriterion("aisle_min not between", value1, value2, "aisleMin");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNull() {
            addCriterion("machine_id is null");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNotNull() {
            addCriterion("machine_id is not null");
            return (Criteria) this;
        }

        public Criteria andMachineIdEqualTo(String value) {
            addCriterion("machine_id =", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotEqualTo(String value) {
            addCriterion("machine_id <>", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThan(String value) {
            addCriterion("machine_id >", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThanOrEqualTo(String value) {
            addCriterion("machine_id >=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThan(String value) {
            addCriterion("machine_id <", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThanOrEqualTo(String value) {
            addCriterion("machine_id <=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLike(String value) {
            addCriterion("machine_id like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotLike(String value) {
            addCriterion("machine_id not like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdIn(List<String> values) {
            addCriterion("machine_id in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotIn(List<String> values) {
            addCriterion("machine_id not in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdBetween(String value1, String value2) {
            addCriterion("machine_id between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotBetween(String value1, String value2) {
            addCriterion("machine_id not between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andCurrentNumIsNull() {
            addCriterion("current_num is null");
            return (Criteria) this;
        }

        public Criteria andCurrentNumIsNotNull() {
            addCriterion("current_num is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentNumEqualTo(Integer value) {
            addCriterion("current_num =", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumNotEqualTo(Integer value) {
            addCriterion("current_num <>", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumGreaterThan(Integer value) {
            addCriterion("current_num >", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("current_num >=", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumLessThan(Integer value) {
            addCriterion("current_num <", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumLessThanOrEqualTo(Integer value) {
            addCriterion("current_num <=", value, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumIn(List<Integer> values) {
            addCriterion("current_num in", values, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumNotIn(List<Integer> values) {
            addCriterion("current_num not in", values, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumBetween(Integer value1, Integer value2) {
            addCriterion("current_num between", value1, value2, "currentNum");
            return (Criteria) this;
        }

        public Criteria andCurrentNumNotBetween(Integer value1, Integer value2) {
            addCriterion("current_num not between", value1, value2, "currentNum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}